


<!DOCTYPE html>
<html id="htmlId">
<head>
  <title>Coverage Report > Pellet</title>
  <style type="text/css">
    @import "../../css/coverage.css";
    @import "../../css/idea.min.css";
  </style>
  <script type="text/javascript" src="../../js/highlight.min.js"></script>
  <script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>

<body>
<div class="content">
<div class="breadCrumbs">
Current scope:     <a href="../../index.html">all classes</a>
    <span class="separator">|</span>
    <a href="../index.html">nl.tudelft.jpacman.level</a>
</div>

<h1>Coverage Summary for Class: Pellet (nl.tudelft.jpacman.level)</h1>

<table class="coverageStats">

<tr>
  <th class="name">Class</th>
<th class="coverageStat 
">
  Method, %
</th>
<th class="coverageStat 
">
  Line, %
</th>
</tr>
<tr>
  <td class="name">Pellet</td>
<td class="coverageStat">
  <span class="percent">
    0%
  </span>
  <span class="absValue">
    (0/3)
  </span>
</td>
<td class="coverageStat">
  <span class="percent">
    0%
  </span>
  <span class="absValue">
    (0/6)
  </span>
</td>
</tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$1aeZkCeT</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$bKbEf6mB</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$c24MKrlO</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$FBQNnGcC</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$GOizeWZI</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$hMcA9Etq</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$SnzZn6yS</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$Ttd1klkl</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$uGl0o7AL</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$uV2mB7Y8</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$XP6mY3uL</td>
  </tr>
  <tr>
    <td class="name">Pellet$MockitoMock$1678177925$auxiliary$XUNwkWx8</td>
  </tr>
<tr>
  <td class="name"><strong>Total</strong></td>
<td class="coverageStat">
  <span class="percent">
    0%
  </span>
  <span class="absValue">
    (0/3)
  </span>
</td>
<td class="coverageStat">
  <span class="percent">
    0%
  </span>
  <span class="absValue">
    (0/6)
  </span>
</td>
</tr>
</table>

<br/>
<br/>


<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package nl.tudelft.jpacman.level;
&nbsp;
&nbsp;import nl.tudelft.jpacman.board.Unit;
&nbsp;import nl.tudelft.jpacman.sprite.Sprite;
&nbsp;
&nbsp;/**
&nbsp; * A pellet, one of the little dots Pac-Man has to collect.
&nbsp; *
&nbsp; * @author Jeroen Roosen 
&nbsp; */
&nbsp;public class Pellet extends Unit {
&nbsp;
&nbsp;    /**
&nbsp;     * The sprite of this unit.
&nbsp;     */
&nbsp;    private final Sprite image;
&nbsp;
&nbsp;    /**
&nbsp;     * The point value of this pellet.
&nbsp;     */
&nbsp;    private final int value;
&nbsp;
&nbsp;    /**
&nbsp;     * Creates a new pellet.
&nbsp;     * @param points The point value of this pellet.
&nbsp;     * @param sprite The sprite of this pellet.
&nbsp;     */
<b class="nc">&nbsp;    public Pellet(int points, Sprite sprite) {</b>
<b class="nc">&nbsp;        this.image = sprite;</b>
<b class="nc">&nbsp;        this.value = points;</b>
<b class="nc">&nbsp;    }</b>
&nbsp;
&nbsp;    /**
&nbsp;     * Returns the point value of this pellet.
&nbsp;     * @return The point value of this pellet.
&nbsp;     */
&nbsp;    public int getValue() {
<b class="nc">&nbsp;        return value;</b>
&nbsp;    }
&nbsp;
&nbsp;    @Override
&nbsp;    public Sprite getSprite() {
<b class="nc">&nbsp;        return image;</b>
&nbsp;    }
&nbsp;}
</code>
</pre>
</div>

<script type="text/javascript">
(function() {
    var msie = false, msie9 = false;
    /*@cc_on
      msie = true;
      @if (@_jscript_version >= 9)
        msie9 = true;
      @end
    @*/

    if (!msie || msie && msie9) {
      hljs.highlightAll()
      hljs.initLineNumbersOnLoad();
    }
})();
</script>

<div class="footer">
    
    <div style="float:right;">generated on 2023-04-23 16:26</div>
</div>
</body>
</html>
